#task-timer-float-box {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999999;
  min-width: 180px;
  max-width: 260px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
  border-radius: 8px;
  font-size: 13px;
  color: #222;
  font-family: 'Segoe UI', 'PingFang SC', Arial, sans-serif;
  overflow: hidden;
  user-select: none;
  border: 1px solid #e0e0e0;
}
#task-timer-float-box .float-header {
  background: #f5f6fa;
  font-weight: 400;
  padding: 0 2px 0 2px;
  border-bottom: 0.5px solid #e0e0e0;
  font-size: 10px;
  min-height: 12px;
  color: #888;
}
#task-timer-float-box .float-header a#float-logo-link svg {
  display: block;
  transition: filter 0.2s;
}
#task-timer-float-box .float-header a#float-logo-link:hover svg {
  filter: brightness(0.9) drop-shadow(0 0 2px #222);
}
#task-timer-float-box .float-header button#float-close-btn {
  font-size: 15px !important;
  color: #aaa !important;
  padding: 0 2px !important;
  margin-left: 6px;
  line-height: 1;
  background: none;
  border: none;
  transition: color 0.2s;
}
#task-timer-float-box .float-header button#float-close-btn:hover {
  color: #e53935 !important;
}
#task-timer-float-box .float-body {
  max-height: 140px;
  overflow-y: auto;
  padding: 7px 12px;
}
#task-timer-float-box .float-task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding: 2px 0;
}
#task-timer-float-box .float-task-title {
  font-weight: 500;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
#task-timer-float-box .float-task-time {
  color: #222;
  font-family: 'Segoe UI', 'PingFang SC', Arial, sans-serif;
  margin-left: 6px;
  font-weight: 600;
  font-size: 13px;
}
#task-timer-float-box .float-empty {
  color: #aaa;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
}
/* 移除footer相关样式 */
#task-timer-float-box .float-footer { display: none !important; } 